from likeshop_api_project.base.myBase import Tools


class getGoodsDetail_model(Tools):
    path = '/api/goods/getGoodsDetail'


    def getGoodsDetail_action(self, id, hd):
        getGoodsDetail_data = {
            "id":id
        }
        getGoodsDetail = self.huihua.get(url=self.hosturl + self.path, params=getGoodsDetail_data, headers=hd)
        return getGoodsDetail.json()
